package com.example.springbootdemo.service;

import com.example.springbootdemo.entity.User;

import java.util.List;

public interface Userservice {
    List<User> userList();

    boolean delete(Integer id) throws Exception;

    boolean update(User user) throws Exception;

    User getUser(Integer id) throws Exception;

    boolean insert(User user) throws Exception;
}
